﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JAWWS
{
    abstract class Item : SceneGraphNode
    {
       protected float[] position;
       protected ItemName type;

       public Item()
       {
           position = new float[3];
       }
       public void setPosition(float[] pos)
       {
           position = pos;
       }
       public float[] getPosition()
       {
           return position;
       }
       public ItemName getType()
       {
           return type;
       }
       /*
        * An general method to add any benifical status to the player.
        * Params: Player player
        * Returns: void
        */
       public abstract void apply(Player player);
       /*
        * Draws the item, if needed.
        * Params: Void
        * Returns: Void
        */
       public override abstract void draw();
    }
}
